#!/bin/sh
#
# $OpenBSD: motion.rc,v 1.2 2014/10/11 11:04:20 sthen Exp $

daemon="${TRUEPREFIX}/bin/motion -b"
daemon_user="_motion"

. /etc/rc.d/rc.subr

rc_pre() {
	install -d -o _motion /var/run/motion
}

rc_cmd $1
